package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.StockDrugUsage;
import com.zshan.clinic.database.model.StockDrugUsageExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StockDrugUsageMapper extends SuperMapper {
    long countByExample(StockDrugUsageExample example);

    int deleteByExample(StockDrugUsageExample example);

    int deleteByPrimaryKey(Long usageId);

    int insert(StockDrugUsage row);

    int insertSelective(StockDrugUsage row);

    List<StockDrugUsage> selectByExample(StockDrugUsageExample example);

    StockDrugUsage selectByPrimaryKey(Long usageId);

    int updateByExampleSelective(@Param("row") StockDrugUsage row, @Param("example") StockDrugUsageExample example);

    int updateByExample(@Param("row") StockDrugUsage row, @Param("example") StockDrugUsageExample example);

    int updateByPrimaryKeySelective(StockDrugUsage row);

    int updateByPrimaryKey(StockDrugUsage row);
}